//
//  UIButton+SLKit.h
//  SLKit
//
//  Created by chengdonglu on 2021/10/30.
//  Copyright © 2021 S_LINE. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SLButtonEvent)(void);

NS_ASSUME_NONNULL_BEGIN

@interface UIButton (SLKit)

@property (nonatomic, strong) NSMutableDictionary<NSNumber *, SLButtonEvent> *eventDict;

/// 添加事件
- (void)addTouchUpInsideEvent:(SLButtonEvent)event;

@end

NS_ASSUME_NONNULL_END
